package com.tensquare.article.repository;

import com.tensquare.article.pojo.Comment;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author BAO
 * @version V1.0
 * @Package com.tensquare.article.repository
 * @date 2020/12/3 19:29
 * @description:
 */
public interface CommentRepository extends MongoRepository<Comment,String> {

    List<Comment> findByArticleid( String articleid);
}
